import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/settle/cnzz/agent_settlement.html',
    method: 'post',
    data
  })
}

// export function fetchQudao() {
//   return request({
//     url: '/settle/cnzz/get_all_cnzz_user.html',
//     method: 'get'
//   })
// }

export function fetchDaili() {
  return request({
    url: '/settle/index/get_all_agent',
    method: 'get'
  })
}

export function settleMoney(data) {
  return request({
    url: '/settle/cnzz/settlement_start',
    method: 'post',
    data
  })
}
